package MCQReaderInterface;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JScrollPane;

public class MCQReaderPDF extends JPanel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private MCQReaderNavigator navigator;
	private MCQReaderGroup group;
	
	MCQReaderPDF(){
		super(new BorderLayout());
				
		
		
		navigator = new MCQReaderNavigator();
		add(navigator,BorderLayout.NORTH); 
		
		group = new MCQReaderGroup();
		JScrollPane jsp = new JScrollPane(group);
		add(jsp);
		//add(group);
		
	}

	public MCQReaderDisplay getPdfDisplay() {
		return group.pdfDisplay;
	}
	
	public MCQReaderLayer getPdfCalque() {
		return group.layer;
	}
	
	public MCQReaderSelection getPdfSelections() {
		return group.selections;
	}
	
	public void OpenPDF(String path){
		group.OpenPDF(path);
	}
	
	public MCQReaderNavigator getNavigator() {
		return navigator;
	}


}
